package com.telsoft.hms.entity;

public class ETT_DBInfo {
	private String strPoolName;
	private int iRemapInfoId;
	private String strDriverClassName;
	private String strUrl;
	private String strUserName;
	private String strPassword;
	private int iMinPool;
	private int iMaxPool;
	private int iMaxSize;
	private int iIdleTimeout;
	private String strStatus;

	public ETT_DBInfo() {
		super();
		this.strPoolName = null;
		this.iRemapInfoId = 0;
		this.strDriverClassName = null;
		this.strUrl = null;
		this.strUserName = null;
		this.strPassword = null;
		this.iMinPool = 0;
		this.iMaxPool = 0;
		this.iMaxSize = 0;
		this.iIdleTimeout = 0;
		this.strStatus = null;
	}

	public ETT_DBInfo(String strPoolName, int iRemapInfoId,
			String strDriverClassName, String strUrl, String strUserName,
			String strPassword, int iMinPool, int iMaxPool, int iMaxSize,
			int iIdleTimeout, String strStatus) {
		super();
		this.strPoolName = strPoolName;
		this.iRemapInfoId = iRemapInfoId;
		this.strDriverClassName = strDriverClassName;
		this.strUrl = strUrl;
		this.strUserName = strUserName;
		this.strPassword = strPassword;
		this.iMinPool = iMinPool;
		this.iMaxPool = iMaxPool;
		this.iMaxSize = iMaxSize;
		this.iIdleTimeout = iIdleTimeout;
		this.strStatus = strStatus;
	}

	public ETT_DBInfo(ETT_DBInfo ett) {
		super();
		this.strPoolName = ett.strPoolName;
		this.iRemapInfoId = ett.iRemapInfoId;
		this.strDriverClassName = ett.strDriverClassName;
		this.strUrl = ett.strUrl;
		this.strUserName = ett.strUserName;
		this.strPassword = ett.strPassword;
		this.iMinPool = ett.iMinPool;
		this.iMaxPool = ett.iMaxPool;
		this.iMaxSize = ett.iMaxSize;
		this.iIdleTimeout = ett.iIdleTimeout;
		this.strStatus = ett.strStatus;
	}

	/**
	 * @return the strPoolName
	 */
	public String getStrPoolName() {
		return strPoolName;
	}

	/**
	 * @param strPoolName
	 *            the strPoolName to set
	 */
	public void setStrPoolName(String strPoolName) {
		this.strPoolName = strPoolName;
	}

	/**
	 * @return the iRemapInfoId
	 */
	public int getiRemapInfoId() {
		return iRemapInfoId;
	}

	/**
	 * @param iRemapInfoId
	 *            the iRemapInfoId to set
	 */
	public void setiRemapInfoId(int iRemapInfoId) {
		this.iRemapInfoId = iRemapInfoId;
	}

	/**
	 * @return the strDriverClassName
	 */
	public String getStrDriverClassName() {
		return strDriverClassName; 
	}

	/**
	 * @param strDriverClassName
	 *            the strDriverClassName to set
	 */
	public void setStrDriverClassName(String strDriverClassName) {
		this.strDriverClassName = strDriverClassName;
	}

	/**
	 * @return the strUrl
	 */
	public String getStrUrl() {
		return strUrl;
	}

	/**
	 * @param strUrl
	 *            the strUrl to set
	 */
	public void setStrUrl(String strUrl) {
		this.strUrl = strUrl;
	}

	/**
	 * @return the strUserName
	 */
	public String getStrUserName() {
		return strUserName;
	}

	/**
	 * @param strUserName
	 *            the strUserName to set
	 */
	public void setStrUserName(String strUserName) {
		this.strUserName = strUserName;
	}

	/**
	 * @return the strPassword
	 */
	public String getStrPassword() {
		return strPassword;
	}

	/**
	 * @param strPassword
	 *            the strPassword to set
	 */
	public void setStrPassword(String strPassword) {
		this.strPassword = strPassword;
	}

	/**
	 * @return the iMinPool
	 */
	public int getiMinPool() {
		return iMinPool;
	}

	/**
	 * @param iMinPool
	 *            the iMinPool to set
	 */
	public void setiMinPool(int iMinPool) {
		this.iMinPool = iMinPool;
	}

	/**
	 * @return the iMaxPool
	 */
	public int getiMaxPool() {
		return iMaxPool;
	}

	/**
	 * @param iMaxPool
	 *            the iMaxPool to set
	 */
	public void setiMaxPool(int iMaxPool) {
		this.iMaxPool = iMaxPool;
	}

	/**
	 * @return the iMaxSize
	 */
	public int getiMaxSize() {
		return iMaxSize;
	}

	/**
	 * @param iMaxSize
	 *            the iMaxSize to set
	 */
	public void setiMaxSize(int iMaxSize) {
		this.iMaxSize = iMaxSize;
	}

	/**
	 * @return the iIdleTimeout
	 */
	public int getiIdleTimeout() {
		return iIdleTimeout;
	}

	/**
	 * @param iIdleTimeout
	 *            the iIdleTimeout to set
	 */
	public void setiIdleTimeout(int iIdleTimeout) {
		this.iIdleTimeout = iIdleTimeout;
	}

	/**
	 * @return the strStatus
	 */
	public String getStrStatus() {
		return strStatus;
	}

	/**
	 * @param strStatus
	 *            the strStatus to set
	 */
	public void setStrStatus(String strStatus) {
		this.strStatus = strStatus;
	}

}
